<template>
  <div class="header">
    <div class="left" @click="$emit('clickLeft')">
      <slot name="left">返回</slot>
    </div>

    <div class="center">
      <slot name="center">面经详情</slot>
    </div>
    <div class="right">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.header {
  display: flex;
  //   width: 100%;
  height: 44px;

  align-items: center;
  .left {
    color: orangered;
  }
  .center {
    flex: 1;
    text-align: center;
  }
}
</style>
